//
//  Message.m
//  NiuBanGold
//
//  Created by Billy on 15/12/8.
//  Copyright © 2015年 zzjr. All rights reserved.
//

#import "Message.h"

@implementation Message

- (instancetype)initWithAttributes:(NSDictionary *)attributesDic  {
    
    self = [super init];
    
    if (self) {
        
        self.message_contnet = [NSString stringWithFormat:@"%@",[attributesDic objectForKey:@"content"]];
        
        self.message_date  = [NSString stringWithFormat:@"%@",[attributesDic objectForKey:@"date"]];
        
        self.message_mid = [NSString stringWithFormat:@"%@",[attributesDic objectForKey:@"mid"]];
        
        self.message_status = [NSString stringWithFormat:@"%@",[attributesDic objectForKey:@"read"]];
        
        self.message_title = [NSString stringWithFormat:@"%@",[attributesDic objectForKey:@"title"]];
    }
    
    return self;
}


@end
